test(user): add complete unit test suite and CI validation workflow#8
Merged
lucas-adm merged 9 commits intoNoteHubBR:mainfrom Nov 19, 2025
Merged
test(user): add complete unit test suite and CI validation workflow#8lucas-adm merged 9 commits intoNoteHubBR:mainfrom
lucas-adm merged 9 commits intoNoteHubBR:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sumário
Este PR adiciona a suíte completa de testes unitários para o serviço de usuário e inclui um workflow de CI responsável por executar automaticamente
mvn testem pull requests direcionados à branchmain.O objetivo é ampliar a cobertura de testes, garantir maior segurança durante desenvolvimento e preparar o repositório para futuras regras de proteção de branch que exijam a aprovação dos testes antes do merge.
Alterações
verify);.github/workflows/tests.ymlpara:mvn testautomaticamente em PRs abertos contramain;actions/setup-javacom JDK 21 e Maven embarcado;Necessidade
As novas validações garantem que o serviço de usuário se comporte corretamente sob diferentes cenários e estabelecem uma base sólida de confiança no código.
A introdução do workflow de testes aproxima o projeto das boas práticas de CI/CD, permitindo evoluir futuramente para uma política formal de merges dependentes da aprovação dos testes.
Teste manual
maine verificar:Checklist
Breaking Changes